import { Ref } from 'vue'
// 数据总览
export type DataOverObject = {
    title: String
    color?: String
    backgroudColor? : String
    value : String | Number,
    unit? : String,
    valueColor? : String,
    isSynTextColor? : Boolean,
    isSynBackgroudColor? : Boolean
}

// 入库出库走势图
export type TrendObject = {
    type: Number,
    title: String,
    color?: String,
}

// 自定义选择器
export type SegmentItem = {
    type: Number,
    title: String,
    isSelect?: boolean
}

// 仓库对象
export type LibraryDetailItem = {
    type: Number,
    title: String,
    isSelect?: boolean
}

// 饼状图指示器
export type PieIndicator = {
    type: Number,
    title: String,
    color: String
}

export type RefFunType<T> = {
    () : Ref<T>,
}